DELETE method

DELETE method

am 06.10.2009 02:15:07 von Jeff Dyke

--0016e64b93326ca95a0475391fd9
Content-Type: text/plain; charset=ISO-8859-1

I'm trying to put together a REST-ful application and am having a hard time
getting apache configured to take DELETE's. I have in the virtual host
file:

AllowOverride All
Options All

Order allow,deny
Allow from all



I only added this configuruation after it was first denied, thinking i had
to enable it. I'm using apache 2.2.13. This directory is also named as a
WSGIScriptAlias /wsgi /path/to/directory. POST/GET works fine, have not yet
tried PUT.

Thanks for what is sure to be a simple solution.

Jeff

--0016e64b93326ca95a0475391fd9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I'm trying to put together a REST-ful application and am having a hard =
time getting apache configured to take DELETE's.=A0 I have in the virtu=
al host file:
<Directory /path/to/directory />
    =A0=
   AllowOverride All

      =A0 Options All
      =A0 <Limit DELETE=
GET PUT POST >
          =A0 Order allow,deny >          =A0 Allow from all
      =A0 =
</Limit>
  =A0 </Directory>

I only added this con=
figuruation after it was first denied, thinking i had to enable it.=A0 I=
9;m using apache 2.2.13.=A0 This directory is also named as a WSGIScriptAli=
as /wsgi /path/to/directory.=A0 POST/GET works fine, have not yet tried PUT=
..=A0


Thanks for what is sure to be a simple solution.

Jeff


--0016e64b93326ca95a0475391fd9--

Re: DELETE method

am 06.10.2009 02:21:24 von Dick Davies

What's in the directory? If it's a filesystem, apache won't let you DELETE
(unless you have it DAV enabled or something like that).

On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke wrote:
> I'm trying to put together a REST-ful application and am having a hard ti=
me
> getting apache configured to take DELETE's.=A0 I have in the virtual host
> file:
>
>       =A0 AllowOverride All
>       =A0 Options All
>       =A0
>           =A0 Order allow,deny
>           =A0 Allow from all
>       =A0

>   =A0

>
> I only added this configuruation after it was first denied, thinking i ha=
d
> to enable it.=A0 I'm using apache 2.2.13.=A0 This directory is also named=
as a
> WSGIScriptAlias /wsgi /path/to/directory.=A0 POST/GET works fine, have no=
t yet
> tried PUT.
>
> Thanks for what is sure to be a simple solution.
>
> Jeff
>

------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: DELETE method

am 06.10.2009 02:45:03 von Jeff Dyke

--001636b1461d75969b0475398a63
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Oct 5, 2009 at 8:21 PM, Dick Davies wrote:

> What's in the directory? If it's a filesystem, apache won't let you DELETE
> (unless you have it DAV enabled or something like that).
>
> Thanks for the quick reply,

there is actually a collection of python wsgi compatible scripts in that
directory. At first was just setting:
Order allow,deny
Allow from all

The the delete request is called on a url like
http://example.org/wsgi/image.py/image/2. Is there a different way this
type of request needs to be configured.

Jeff

> On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke wrote:
> > I'm trying to put together a REST-ful application and am having a hard
> time
> > getting apache configured to take DELETE's. I have in the virtual host
> > file:
> >
> > AllowOverride All
> > Options All
> >
> > Order allow,deny
> > Allow from all
> >

> >

> >
> > I only added this configuruation after it was first denied, thinking i
> had
> > to enable it. I'm using apache 2.2.13. This directory is also named as
> a
> > WSGIScriptAlias /wsgi /path/to/directory. POST/GET works fine, have not
> yet
> > tried PUT.
> >
> > Thanks for what is sure to be a simple solution.
> >
> > Jeff
> >
>
> ------------------------------------------------------------ ---------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

--001636b1461d75969b0475398a63
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable


On Mon, Oct 5, 2009 at 8:21 PM, Dick Davies =
<rasput=
nik@hellooperator.net
>
wrote:
uote" style=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0=
pt 0.8ex; padding-left: 1ex;">
What's in the directory? If it's a filesystem, apache won't let=
you DELETE

(unless you have it DAV enabled or something like that).


Thanks =
for the quick reply,
=A0
there is actually a collection of=
python wsgi compatible scripts in that directory.=A0 At first=A0 <Direc=
tory> was just setting:

Order allow,deny
Allow from all

The the delete request is called =
on a url like http://e=
xample.org/wsgi/image.py/image/2
.=A0 Is there a different way this type=
of request needs to be configured.


Jeff=A0
t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1=
ex;">

On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke < mail.com">jeff.dyke@gmail.com> wrote:

> I'm trying to put together a REST-ful application and am having a =
hard time

> getting apache configured to take DELETE's.=A0 I have in the virtu=
al host

> file:

> <Directory /path/to/directory />

>       =A0 AllowOverride All

>       =A0 Options All

>       =A0 <Limit DELETE GET PUT POST >

>           =A0 Order allow,deny

>           =A0 Allow from all

>       =A0 </Limit>

>   =A0 </Directory>

>

> I only added this configuruation after it was first denied, thinking i=
had

> to enable it.=A0 I'm using apache 2.2.13.=A0 This directory is als=
o named as a

> WSGIScriptAlias /wsgi /path/to/directory.=A0 POST/GET works fine, have=
not yet

> tried PUT.

>

> Thanks for what is sure to be a simple solution.

>

> Jeff

>



------------------------------------------------------------ ---=
------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org">users-digest-unsubscribe@httpd.apache.org

For additional commands, e-mail: org">users-help@httpd.apache.org






--001636b1461d75969b0475398a63--

Re: DELETE method

am 06.10.2009 03:40:17 von Jeff Dyke

--0016e64c2684005a5704753a5092
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Oct 5, 2009 at 8:45 PM, Jeff Dyke wrote:

>
> On Mon, Oct 5, 2009 at 8:21 PM, Dick Davies wrote:
>
>> What's in the directory? If it's a filesystem, apache won't let you DELETE
>> (unless you have it DAV enabled or something like that).
>>
>> Thanks for the quick reply,
>
> there is actually a collection of python wsgi compatible scripts in that
> directory. At first was just setting:
> Order allow,deny
> Allow from all
>
> The the delete request is called on a url like
> http://example.org/wsgi/image.py/image/2. Is there a different way this
> type of request needs to be configured.
>
> grrrrrr, thought i excluded all of ... but it seems that the error was
coming from a third party python module based on how it was being called.

I knew it would be easy.


> Jeff
>
>> On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke wrote:
>> > I'm trying to put together a REST-ful application and am having a hard
>> time
>> > getting apache configured to take DELETE's. I have in the virtual host
>> > file:
>> >
>> > AllowOverride All
>> > Options All
>> >
>> > Order allow,deny
>> > Allow from all
>> >

>> >

>> >
>> > I only added this configuruation after it was first denied, thinking i
>> had
>> > to enable it. I'm using apache 2.2.13. This directory is also named as
>> a
>> > WSGIScriptAlias /wsgi /path/to/directory. POST/GET works fine, have not
>> yet
>> > tried PUT.
>> >
>> > Thanks for what is sure to be a simple solution.
>> >
>> > Jeff
>> >
>>
>> ------------------------------------------------------------ ---------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>

--0016e64c2684005a5704753a5092
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable



On Mon, Oct 5, 2009 at 8:45 PM, Jeff Dyk=
e <jeff.dyke@gm=
ail.com
>
wrote:
"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padd=
ing-left: 1ex;">

On Mon, Oct 5, 2009 at 8:2=
1 PM, Dick Davies < erator.net" target=3D"_blank">rasputnik@hellooperator.net> wr=
ote:

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
What's in the directory? If it's a filesystem, apache won't let=
you DELETE

(unless you have it DAV enabled or something like that).


Thanks for the=
quick reply,
=A0
there is actually a collection of python=
wsgi compatible scripts in that directory.=A0 At first=A0 <Directory>=
; was just setting:



Order allow,deny
Allow from all

The the delete request is c=
alled on a url like rget=3D"_blank">http://example.org/wsgi/image.py/image/2.=A0 Is there a=
different way this type of request needs to be configured.



grrrrrr, thought i excluded all of=
... but it seems that the error was coming from a third party python modul=
e based on how it was being called.=A0

I knew it would be easy.

=A0
lid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> class=3D"gmail_quote">
Jeff=A0
v>

204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

On Tue, Oct 6, 2009 at 1:15 AM, Jeff Dyke < mail.com" target=3D"_blank">jeff.dyke@gmail.com> wrote:

> I'm trying to put together a REST-ful application and am having a =
hard time

> getting apache configured to take DELETE's.=A0 I have in the virtu=
al host

> file:

> <Directory /path/to/directory />

>       =A0 AllowOverride All

>       =A0 Options All

>       =A0 <Limit DELETE GET PUT POST >

>           =A0 Order allow,deny

>           =A0 Allow from all

>       =A0 </Limit>

>   =A0 </Directory>

>

> I only added this configuruation after it was first denied, thinking i=
had

> to enable it.=A0 I'm using apache 2.2.13.=A0 This directory is als=
o named as a

> WSGIScriptAlias /wsgi /path/to/directory.=A0 POST/GET works fine, have=
not yet

> tried PUT.

>

> Thanks for what is sure to be a simple solution.

>

> Jeff

>



------------------------------------------------------------ ---=
------

The official User-To-User support forum of the Apache HTTP Server Project.<=
br>
See <URL: lank">http://httpd.apache.org/userslist.html> for more info.

To unsubscribe, e-mail: g" target=3D"_blank">users-unsubscribe@httpd.apache.org

=A0 " =A0 from the digest: @httpd.apache.org" target=3D"_blank">users-digest-unsubscribe@httpd.apache.=
org


For additional commands, e-mail: org" target=3D"_blank">users-help@httpd.apache.org








--0016e64c2684005a5704753a5092--